package net.mysgame.czfun.module.user.store;

import net.mysgame.czfun.module.user.data.CzUser;
import net.mysgame.czfun.utils.BeanWrapperUtils;

/**
 * Created by manatea on 2016/6/1.
 */
public class UserSql {
    public String insert(CzUser czUser) {
        return BeanWrapperUtils.nameParameterConvert("REPLACE INTO cz_user(id,name,password,role,sex,tel,email)" +
                " VALUES(#{id},#{name},#{password},#{role},#{sex},#{tel},#{email})", czUser);
    }
}
